﻿using Microsoft.AspNetCore.Mvc;

namespace PageOffice6_Net_Core.Controllers.WordCompare
{
    public class WordCompareController : Controller
    {
        public IActionResult Word()
        {
            PageOfficeNetCore.PageOfficeCtrl poCtrl = new PageOfficeNetCore.PageOfficeCtrl(Request);

            poCtrl.WordCompare("doc/aaa1.doc", "doc/aaa2.doc", PageOfficeNetCore.OpenModeType.docAdmin, "Tom");
            ViewBag.poCtrl = poCtrl.GetHtml();
            return View();
        }
    }
}